Telegram Group & Telegram Channel
# پاسخ تمرین شماره 2
A = float(input("Please enter a number : "))
B = input("Please enter an operator (+,-,*,/,=) : ")
while B != "=":
C = float(input("Please enter a number: "))
if B == "+":
A = A + C
if B == "-":
A = A - C
if B == "*":
A = A * C
if B == "/":
A = A / C
print(A)
B = input("Please enter an operator (+,-,*,/,=) : ")
print(A)



tg-me.com/python12/1304
Create:
Last Update:

# پاسخ تمرین شماره 2
A = float(input("Please enter a number : "))
B = input("Please enter an operator (+,-,*,/,=) : ")
while B != "=":
C = float(input("Please enter a number: "))
if B == "+":
A = A + C
if B == "-":
A = A - C
if B == "*":
A = A * C
if B == "/":
A = A / C
print(A)
B = input("Please enter an operator (+,-,*,/,=) : ")
print(A)

BY پایتون / python


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/python12/1304

View MORE
Open in Telegram


پایتون python Telegram | DID YOU KNOW?

Date: |

The seemingly negative pandemic effects and resource/product shortages are encouraging and allowing organizations to innovate and change.The news of cash-rich organizations getting ready for the post-Covid growth economy is a sign of more than capital spending plans. Cash provides a cushion for risk-taking and a tool for growth.

The Singapore stock market has alternated between positive and negative finishes through the last five trading days since the end of the two-day winning streak in which it had added more than a dozen points or 0.4 percent. The Straits Times Index now sits just above the 3,060-point plateau and it's likely to see a narrow trading range on Monday.

پایتون python from fr


Telegram پایتون / python
FROM USA